/*
 * @Author: your name
 * @Date: 2020-08-19 14:06:55
 * @LastEditTime: 2020-08-23 22:50:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /fed-e-task-02-02/code/编程题/vue-app-base/webpack.dev.js
 */
const common = require('./webpack.common')
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
const { merge } = require('webpack-merge')

module.exports = merge(common, {
    mode: 'development',
    devtool: 'source-map', //配置source-map
    plugins: [
        new CleanWebpackPlugin()
    ]
})